﻿<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="D_CustomSerializer.aspx.cs" Inherits="ScottCateAjax2008.Lesson02.D_CustomSerializer" Title="Custom Serializers - Enum Example" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager runat="server" ID="ScriptManager1">
        <Scripts>
            <asp:ScriptReference Path="D_CustomSerializer.js" />
            <asp:ScriptReference Path="~/Lesson06/F_StringBuilderAppendFormat.aspx.js" />
        </Scripts>
        <Services>
            <asp:ServiceReference Path="~/Services/CustomNouns.asmx" />
        </Services>
    </asp:ScriptManager>
 
    <div>
        <b>Custom serializers - Enum Example</b>
        <ul>
            <li><a href="/Services/CustomNouns.asmx">CustomNouns.asmx</a> (<a href="\Services\CustomNouns.asmx?wsdl">wsdl</a>) (<a href="/Utilities/ShowJavaScript.aspx?url=~/Services/CustomNouns.asmx/js">json</a>)  (<a href="/Utilities/ShowServerCode.aspx?res=/Services/CustomNouns.asmx.cs">C#</a>)</li>
        </ul>
        <a href="#GetThings" onclick="GetThings()">Get Things</a><br />
        <a href="#ClearThings" onclick="ClearThings()">Clear Things</a><br />
    </div>
    <div id="ThingsList"></div>
</asp:Content>
